package com.news.xinwen.mapper;

import com.news.xinwen.model.news;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface newsMapper {
    List<news> select();

    int deleteByPrimaryKey(String newsId);

    int insert(news record);

    int insertSelective(news record);

    news selectByPrimaryKey(String newsId);

    int updateByPrimaryKeySelective(news record);

    int updateByPrimaryKey(news record);
}